<div class="dataInnBottom">
    <div class="dataHeader">
        <h4>Team</h4>
    </div>
    <div class="clr"></div>
    <?php $this->addScriptPath('../application/views/scripts/'); ?>
    <?= $this->paginationControl($this->paginator, 'Sliding', 'paginator.phtml') ?>
    <div class="clr"></div>
    <table class="dataActions" width="100%" border="0" cellpadding="0" cellspacing="0" >
        <tr>
            <th>Switch</th>
            <th>Emp #</th>
            <th>Name</th>
            <th>Contact #</th>
            <th class="allign-right">Actions</th>
        </tr>
        <?php foreach ($this->paginator as $item) {
        ?>
            <tr>
                <td><?php echo $item['switchName'] ?></td>
                <td><?php echo $item['employeeNumber'] ?></td>
                <td><a href="/marketing/team/userhouse/<?=$item['user_id'];?>"><?php echo $item['name'] ?></a></td>
                <td><?php echo $item['phone'] ?></td>
                <td class="allign-right">    
                    <a href="/marketing/target/index/<?php echo $item['user_id']?>/<?php echo $item['switch_id']?>/0">Detail</a>
                </td>
            </tr>
        <?php } ?>
    </table>
</div>